package com.jy.api.dao;

import com.jy.api.domain.ProductSpec;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author xiaohua
 * @data 2022/6/6 0006 16:25
 */
public interface ProductSpecDao  extends CrudRepository<ProductSpec,Integer> {

    List<ProductSpec> findByStoreIdOrderByIdDesc(String storeId);


    List<ProductSpec> findAllByIdIn(List<Integer> ids);
}
